<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>

	
<title>悦章科技机构平台</title>	

	
<!--内容样式-->
<link rel="stylesheet" href="__PUBLIC__/Home/css/style.css" />
<link rel="stylesheet" href="__PUBLIC__/Home/css/page.css" />

	
	
</head>

<body>

	
	<div class="main">
	
	
		
		<include file="menu" />
		
		<!--  右侧内容  -->
		<div class="content">
			
			
			<div class= "ct-title">
				<div class="ctt-bt">课程拼团</div>
				<div class="ctt-r">
					<form class="cttr-bd" method="POST">
						<input type="text" placeholder="请输入活动名称" class="cttrb-wb" name="name" value="{$msg['name']}">
						<select class="cttrb-xl" name="status">
							<option value="" <if condition="$msg.status eq ''">selected</if>>不限</option>
							<!-- <option value="0" <if condition="$msg.status eq 0">selected</if>>未开始</option> -->
							<option value="1" <if condition="$msg.status eq 1">selected</if>>进行中</option>
							<option value="2" <if condition="$msg.status eq 2">selected</if>>已结束</option>
							<option value="3" <if condition="$msg.status eq 3">selected</if>>已完成</option>
						</select>
						<div class="cttrb-sj">
							<input type="date" name="start_time" value="{$msg['start_time']}">
							<img src="__PUBLIC__/Home/images/img_zhi.png" />
							<input type="date" name="end_time" value="{$msg['end_time']}">
							<div class="divclear"></div>
						</div>
						<button class="cttrb-cx" type="submit">查询</button>
						<a href="{:U('Marketing/addGroupWork')}" class="cttrb-xz">新增拼团</a>
						<div class="divclear"></div>
					</form>
					<div class="divclear"></div>
				</div>
				<div class="divclear"></div>
			</div>
			
			<div class="ct-table">
				<table width="100%" border="0">
					<tbody>
						<tr>
							<th scope="col" width="16%" style="border-top-left-radius: 10px;">拼团商品名称</th>
							<th scope="col" width="8%">成团人数</th>
							<th scope="col" width="11%">活动开始时间</th>
							<th scope="col" width="11%">活动结束时间</th>
							<th scope="col" width="8%">拼团时限(分)</th>
							<th scope="col" width="8%">拼团价</th>
							<th scope="col" width="8%">团长价</th>
							<th scope="col" width="10%">当前已成团数</th>
							<th scope="col" width="8%">状态</th>
							<th scope="col" width="12%" style="border-top-right-radius: 10px;">操作</th>
						</tr>
						<volist name="_list" id="item">
							<tr>
							  <td>{$item.name}</td>
							  <td>{$item.people_number}</td>
							  <td>{$item.start_time}</td>
							  <td>{$item.end_time}</td>
							  <td>{$item.time_limit}</td>
							  <td>￥{$item.group_price}</td>
							  <td>￥{$item.chief_price}</td>
						      <td>{$item['group_count']}</td>
							  <td>{$item.statuss}</td>
							  <td><a href="{:U('Marketing/group_details',array('id'=>$item['id']))}">详情</a><if condition="$item['status'] eq 1"><else /><a href="{:U('Marketing/group_del',array('id'=>$item['id']))}">删除</a></if></td>
							</tr>
						</volist>
					</tbody>
				</table>
			</div>
			<div class="page">
	            {$_page}
	        </div>
<!-- 			<div class="ct-btn">
				<div class="ctb-an"><</div>
				<div class="ctb-an ctb-an-on">1</div>
				<div class="ctb-an">2</div>
				<div class="ctb-an">3</div>
				<div class="ctb-an">></div>
				<div class="divclear"></div>
			</div> -->
			
			
		</div>
		
		
		
	</div>
		
		
	
	
	
	
	
	
</body>
</html>
